package ATM.data;

/**
 * 
 * @author Muhamed
 * Klassen Accounts er DTO, da den indeholder de atributer der er kendetegner Accounts
 */
public class Accounts {
	
	private int accountID;
	private String type;
	private double AvailableBalance;
	private double TotalBalance;
	private double overdraft;
	private double interestRate;
	
	

/**
 * 
 * @param accountID
 * @param type
 * @param availableBalance
 * @param totalBalance
 * @param overdraft
 * @param interestRate
 */
	public Accounts(int accountID, String type, double availableBalance, double totalBalance,
			double overdraft, double interestRate) {
		super();
		this.type = type;
		AvailableBalance = availableBalance;
		TotalBalance = totalBalance;
		this.overdraft = overdraft;
		this.interestRate = interestRate;
		this.accountID = accountID;
	}


	public int getAccountID() {
		return accountID;
	}


	public void setType(int accountId) {
		this.accountID = accountId;
	}

	public String getType() {
		return type;
	}


	public void setType(String type) {
		this.type = type;
	}


	public double getAvailableBalance() {
		return AvailableBalance;
	}


	public void setAvailableBalance(double availableBalance) {
		AvailableBalance = availableBalance;
	}


	public double getTotalBalance() {
		return TotalBalance;
	}


	public void setTotalBalance(double totalBalance) {
		TotalBalance = totalBalance;
	}


	public double getOverdraft() {
		return overdraft;
	}


	public void setOverdraft(double overdraft) {
		this.overdraft = overdraft;
	}


	public double getInterestRate() {
		return interestRate;
	}


	public void setInterestRate(double interestRate) {
		this.interestRate = interestRate;
	}
	
	
}
